<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="theme-color" content="#6B46C1">
    
    <!-- DNS预取取决于VITE_API_URL中的域名，在构建时处理 -->
    <link rel="dns-prefetch" href="//47.96.185.70">
    
    <!-- 移除不必要的Vue文件预加载，只保留入口脚本 -->
    <link rel="preload" href="/src/main.js" as="module">
    
    <!-- 预连接标签，将在构建时动态替换 -->
    <link rel="preconnect" id="api-preconnect">
    
    <title>文档管理系统</title>
    <script>
      // 动态设置预连接
      document.getElementById('api-preconnect').href = window.VITE_API_URL || 'http://47.96.185.70:8000';
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.js"></script>
  </body>
</html>
